Skip to content

Drop QDQ around MaxPool at opset 22#27059

Open
mcollinswisc wants to merge 5 commits intomicrosoft:mainfrom
mcollinswisc:qdq_maxpool_opset22
Open

Drop QDQ around MaxPool at opset 22#27059
mcollinswisc wants to merge 5 commits intomicrosoft:mainfrom
mcollinswisc:qdq_maxpool_opset22

Conversation

@mcollinswisc
Copy link
Contributor

Description

Includes MaxPool at opset 22 in the DropQDQNodesSelector, so that this gets optimized to a full-integer graph. Previously this was only done for MaxPool at opset 12.

Motivation and Context

Right now, at the most recent opsets, this optimization is no longer being applied.

I'd guess MaxPool was limited to only being selected by the DropQDQ action at opset 12 because at earlier opsets MaxPool did not support any integer types. For example at opset 11:

https://github.com/onnx/onnx/blob/main/docs/Changelog.md#MaxPool-11

but opset 12 added support int8/uint8:

https://github.com/onnx/onnx/blob/main/docs/Changelog.md#MaxPool-12

Now a new version has been introduced at opset 22, that still supports int8/uint8:

https://github.com/onnx/onnx/blob/main/docs/Changelog.md#MaxPool-22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant